<?php

/**
 * 
 * The player class holds information about the various team members.
 * @author Martin Sommervold
 *
 */

namespace TeamPlayers;
class Player extends AccessControlledObject{
	/**
	 * 
	 * Players first name
	 * @var string
	 */
	public $firstName;
	
	/**
	 * 
	 * Players last name
	 * @var string
	 */
	public $lastName;
	
	/**
	 * 
	 * Players email adress
	 * @var string
	 */
	public $email;
	
	/**
	 * 
	 * The teams this player is associated with
	 * @var array of objects
	 */
	public $Teams;
	
	
	function __construct($username, $uuid = FALSE){
		
	}
	
	public function save(){
		
	}
}